package com.claire.jing.Service;

import com.claire.jing.Dao.MemberDao;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.claire.jing.Entity.Member;


@Service
public class MemberService {

    @Resource
    private MemberDao memberDao;

    public int insert(Member pojo){
        return memberDao.insert(pojo);
    }

    public int insertList(List< Member> pojos){
        return memberDao.insertList(pojos);
    }

    public List<Member> select(Member pojo){
        return memberDao.select(pojo);
    }

    public int update(Member pojo){
        return memberDao.update(pojo);
    }

}
